package com.gsj.system.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gsj.system.eneity.User;
import com.gsj.system.pojo.UserVo;
import com.gsj.system.pojo.UserVoThird;

import java.util.List;


public interface UserMapper extends BaseMapper<User> {
    List<User> queryallUser();

    int addUser(UserVoThird userVo,String username);

    List<User> querybyUserid(Integer userId);

    int updatebyUserid(UserVo userVo,String username);

    int deleteByUserid(Integer userId);


    int editUserStatus(Integer id, Integer status);

    int editPassword(String userName, String password);

}
